﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using LosScrum.Dominio;

namespace LosScrum
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IRecursosServices" in both code and config file together.
    [ServiceContract]
    public interface IRecursosServices
    {
        [OperationContract]
        Recurso CrearRecurso(string nombre, string estado, int tiporecurso);

        [OperationContract]
        Recurso ObtenerRecurso(int codigo);

        [OperationContract]
        Recurso ModificarRecurso(int codigo, string nombre, string estado, int tiporecurso);

        [OperationContract]
        void EliminarRecurso(int codigo);

        [OperationContract]
        List<Recurso> ListarRecursos();
    }
}
